home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / Excel / Sheet.jar / sheet / SheetShow$5.class (.txt) < prev    next >
Encoding:
Java Class File  |  2001-09-03  |  1.6 KB  |  44 lines

  1. package sheet;
  2.  
  3. import javax.microedition.lcdui.Alert;
  4. import javax.microedition.lcdui.Command;
  5. import javax.microedition.lcdui.CommandListener;
  6. import javax.microedition.lcdui.Displayable;
  7. import javax.microedition.lcdui.List;
  8. import sheet.SheetShow.4;
  9.  
  10. class SheetShow$5 implements CommandListener {
  11.    private final Command val$deleteCommand;
  12.    private final Alert val$errAlert;
  13.    private final SheetShow.4 this$1;
  14.  
  15.    SheetShow$5(SheetShow.4 var1, Command var2, Alert var3) {
  16.       this.this$1 = var1;
  17.       this.val$deleteCommand = var2;
  18.       this.val$errAlert = var3;
  19.    }
  20.  
  21.    public void commandAction(Command var1, Displayable var2) {
  22.       List var3 = (List)var2;
  23.       int var4 = var3.getSelectedIndex();
  24.       if (var1 != SheetShow.access$100() && var1 != List.SELECT_COMMAND) {
  25.          if (var1 == this.val$deleteCommand) {
  26.             SheetShow.access$500(4.access$700(this.this$1), "Deleting...", new SheetShow.7(this, var3, var4));
  27.          } else {
  28.             4.access$700(this.this$1).show();
  29.          }
  30.       } else {
  31.          SheetShow.access$500(4.access$700(this.this$1), "Loading...", new SheetShow.6(this, var3, var4));
  32.       }
  33.  
  34.    }
  35.  
  36.    static SheetShow.4 access$600(SheetShow$5 var0) {
  37.       return var0.this$1;
  38.    }
  39.  
  40.    static Alert access$900(SheetShow$5 var0) {
  41.       return var0.val$errAlert;
  42.    }
  43. }
  44.